﻿using System;
using System.Threading.Tasks;
using Microsoft.Owin;
using Owin;
using System.Web.Http;
using System.Net.Http.Headers;
using System.Web.Routing;
using System.Web.Mvc;
using OwinC.Areas.HelpPage;
using WebApplication1;

[assembly: OwinStartup(typeof(OwinC.Startup))]

namespace OwinC
{
    public class Startup
    {
        public static HttpConfiguration HttpConfiguration { get; private set; }

        public void Configuration(IAppBuilder app)
        {
            HttpConfiguration = new HttpConfiguration();

            //AreaRegistration.RegisterAllAreas();
            AreaRegistration.RegisterAllAreas();
            WebApiConfig.Register(HttpConfiguration);

            app.UseWebApi(HttpConfiguration);
        }

    }

}
